﻿using System;
using System.Linq;
using System.Text;
using SIE.SCADA.SqlSugar;

namespace Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("scada_matcfg")]
    public partial class scada_matcfg
    {
           public scada_matcfg(){


           }
           /// <summary>
           /// Desc:主物料ID
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string matid {get;set;}

           /// <summary>
           /// Desc:派工单
           /// Default:
           /// Nullable:True
           /// </summary>           
           public int? index {get;set;}

           /// <summary>
           /// Desc:子物料ID
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string childmatid {get;set;}

           /// <summary>
           /// Desc:
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           //public DateTime? CreateTime_Dt {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string createuser_str {get;set;}

           /// <summary>
           /// Desc:
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           //public DateTime? ModifyTime_Dt {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string remark_str {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? isenable_bit {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? isactive_bit {get;set;}

           /// <summary>
           /// Desc:
           /// Default:
           /// Nullable:True
           /// </summary>           
           public bool? issync_bit {get;set;}

           /// <summary>
           /// Desc:
           /// Default:nextval('matcfg_id_seq'::regclass)
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true,IsIdentity=true)]
           public int id {get;set;}

           /// <summary>
           /// Desc:状态
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public int? state_int {get;set;}

           public string version { get; set; }

           public string snmatch { get; set; }

           public string batchmatch { get; set; }

           public string cname { get; set; }

           public string childname { get; set; }

    }
}
